﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SysAdmin/MasterPage_SysAdmin.master" AutoEventWireup="true" CodeBehind="HrListDivJobPage.aspx.cs" Inherits="Ones.SysAdmin.HrListDivJobPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server"> </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <div class="widget">
                <div class="widget-header">
                    <i class="icon-table"></i>
                    <h3>
                        Divisions
                    </h3>
                </div>
                <div class="widget-content">
                    <div class="example_alt_pagination">
                        <div id="container">
                            <div id="demo">
                                <!--------- CONTENT TABLE ------------->
                                <table class="table table-striped table-images">
                                    <thead>
                                        <tr>
                                            <th>
                                                Name
                                            </th>
                                            <th>
                                                Description
                                            </th>
                                            <th>
                                                &nbsp;
                                            </th>
                                            <th>
                                                &nbsp;
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <asp:Repeater ID="rptDiv" runat="server" OnItemCommand="rptDiv_ItemCommand">
                                            <ItemTemplate>
                                                <tr>
                                                    <td>
                                                    <%#Eval("divName")%>
                                                    </td>
                                                    <td>
                                                    <%#Eval("divDescription")%>
                                                    </td>
                                                    <td>
                                                        <asp:Button CssClass="btn btn-warning" runat="server" Text="Edit" CommandName="edit" CommandArgument='<%#Eval("divId") %>'/>
                                                    </td>
                                                    <td>
                                                        <asp:Button CssClass="btn btn-danger" runat="server" Text="Delete" CommandName="delete" CommandArgument='<%#Eval("divId") %>'/>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
                                <div class="clearfix">
                                    <div class="pull-right">
                                    <%--<div class="btn-group">
                                    <button data-toggle="dropdown" class="btn btn-sm btn-inverse dropdown-toggle">
                                    &nbsp; Clear &nbsp; <i class="icon-caret-down"></i>
                                    </button>
                                    <ul class="dropdown-menu">
                                    <li><a href="#">Clear</a></li>
                                    <li><a href="#">Move ...</a></li>
                                    <li><a href="#">Something else here</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">Separated link</a></li>
                                    </ul>
                                    </div>
                                    <button class="btn btn-default btn-sm">
                                    Send to ...
                                    </button>--%>
                                    </div>
                                    <ul class="pagination no-margin">
                                        <li class="disabled">
                                            <a href="#">Prev</a>
                                        </li>
                                        <li class="active">
                                            <a href="#">1</a>
                                        </li>
                                        <li>
                                            <a href="#">2</a>
                                        </li>
                                        <li>
                                            <a href="#">3</a>
                                        </li>
                                        <li>
                                            <a href="#">Next</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="widget">
                <div class="widget-header">
                    <i class="icon-table"></i>
                    <h3>
                        Jobs
                    </h3>
                </div>
                <div class="widget-content">
                    <div class="example_alt_pagination">
                        <div id="Div1">
                            <div id="Div2">
                                <!--------- CONTENT TABLE ------------->
                                <table class="table table-striped table-images">
                                    <thead>
                                        <tr>
                                            <th>
                                                Title
                                            </th>
                                            <th>
                                                Description
                                            </th>
                                            <th>
                                                &nbsp;
                                            </th>
                                            <th>
                                                &nbsp;
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <asp:Repeater ID="rptJob" runat="server" OnItemCommand="rptJob_ItemCommand">
                                            <ItemTemplate>
                                                <tr>
                                                    <td>
                                                    <%#Eval("jobTitle")%>
                                                    </td>
                                                    <td>
                                                    <%#Eval("jobDescription")%>
                                                    </td>
                                                    <td>
                                                        <asp:Button CssClass="btn btn-warning" runat="server" Text="Edit" CommandName="edit" CommandArgument='<%#Eval("jobId") %>'/>
                                                    </td>
                                                    <td>
                                                        <asp:Button CssClass="btn btn-danger" runat="server" Text="Delete" CommandName="delete" CommandArgument='<%#Eval("jobId") %>'/>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
                                <div class="clearfix">
                                    <div class="pull-right">
                                    <%--<div class="btn-group">
                                    <button data-toggle="dropdown" class="btn btn-sm btn-inverse dropdown-toggle">
                                    &nbsp; Clear &nbsp; <i class="icon-caret-down"></i>
                                    </button>
                                    <ul class="dropdown-menu">
                                    <li><a href="#">Clear</a></li>
                                    <li><a href="#">Move ...</a></li>
                                    <li><a href="#">Something else here</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">Separated link</a></li>
                                    </ul>
                                    </div>
                                    <button class="btn btn-default btn-sm">
                                    Send to ...
                                    </button>--%>
                                    </div>
                                    <ul class="pagination no-margin">
                                        <li class="disabled">
                                            <a href="#">Prev</a>
                                        </li>
                                        <li class="active">
                                            <a href="#">1</a>
                                        </li>
                                        <li>
                                            <a href="#">2</a>
                                        </li>
                                        <li>
                                            <a href="#">3</a>
                                        </li>
                                        <li>
                                            <a href="#">Next</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphScript" runat="server"> </asp:Content>
